
<img src="http://imgsrc.baidu.com/forum/w%3D580/sign=2a40296dbe3533faf5b6932698d2fdca/580a19d8bc3eb135006217d8a91ea8d3fd1f4428.jpg"/>


<?php
/**
 * Created by PhpStorm.
 * User: dapeng
 * Date: 2019-12-05
 * Time: 09:54
 */

// 开始启用SESSION
session_start();


$_SESSION['user'] = "张三";



echo $_SESSION['user'];
var_dump($_SESSION);



$GLOBALS['ss'] = 1;//全局变量

var_dump($_SERVER);//服务器的信息

